import {createRouter, createWebHashHistory, createWebHistory} from "vue-router";

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            redirect: 'home'
        },
        {
            path: '/home',
            component: () => import('../views/Home.vue')
        },
        {
            path: '/screen',
            component: () => import('../views/Screen.vue')
        },
        {
            path: '/chart',
            component: () => import('../views/Chart.vue')
        },
        {
            path: '/shop',
            component: () => import('../views/Shop.vue')
        },
        {
            path: '/test',
            component: () => import('../views/Test.vue')
        },
        {
            path: '/vuedraggable',
            component: () => import('../views/Vuedraggable.vue')
        }
    ]
})
export default router
